<html>
<head>
<title>Docs For Class BarcodeObject</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">com-tecnick-tcpdf</td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
        
                                    
                              		  [ <a href="../classtrees_com-tecnick-tcpdf.html" class="menu">class tree: com-tecnick-tcpdf</a> ]
		  [ <a href="../elementindex_com-tecnick-tcpdf.html" class="menu">index: com-tecnick-tcpdf</a> ]
		  	    [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
      <b>Packages:</b><br />
              <a href="../li_com-tecnick-tcpdf.html">com-tecnick-tcpdf</a><br />
            <br /><br />
                        <b>Files:</b><br />
      	  <div class="package">
			<a href="../com-tecnick-tcpdf/_barcode---c39object.php.html">		BarcodeObject
		</a><br>
			<a href="../com-tecnick-tcpdf/_barcode---c128aobject.php.html">		BarcodeObject
		</a><br>
			<a href="../com-tecnick-tcpdf/_barcode---i25object.php.html">		BarcodeObject
		</a><br>
			<a href="../com-tecnick-tcpdf/_barcode---c128bobject.php.html">		BarcodeObject
		</a><br>
			<a href="../com-tecnick-tcpdf/_barcode---c128cobject.php.html">		BarcodeObject
		</a><br>
			<a href="../com-tecnick-tcpdf/_barcode---image.php.html">		BarcodeObject
		</a><br>
			<a href="../com-tecnick-tcpdf/_barcode---barcode.php.html">		BarcodeObject
		</a><br>
			<a href="../com-tecnick-tcpdf/_tcpdf.php.html">		TCPDF
		</a><br>
			<a href="../com-tecnick-tcpdf/_config---tcpdf_config.php.html">		tcpdf_config.php
		</a><br>
			<a href="../com-tecnick-tcpdf/_unicode_data.php.html">		unicode_data.php
		</a><br>
	  </div><br />
      
      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="../com-tecnick-tcpdf/BarcodeObject.html">BarcodeObject</a><br />
	    		<a href="../com-tecnick-tcpdf/C39Object.html">C39Object</a><br />
	    		<a href="../com-tecnick-tcpdf/C128AObject.html">C128AObject</a><br />
	    		<a href="../com-tecnick-tcpdf/C128BObject.html">C128BObject</a><br />
	    		<a href="../com-tecnick-tcpdf/C128CObject.html">C128CObject</a><br />
	    		<a href="../com-tecnick-tcpdf/I25Object.html">I25Object</a><br />
	    		<a href="../com-tecnick-tcpdf/TCPDF.html">TCPDF</a><br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: BarcodeObject</h1>
Source Location: /barcode/barcode.php<br /><br />


<table width="100%" border="0">
<tr><td valign="top">

<h3><a href="#class_details">Class Overview</a></h3>
<pre></pre><br />
<div class="description">Barcode Render Class for PHP using the GD graphics library.</div><br /><br />
<h4>Author(s):</h4>
<ul>
          <li>Karim Mribti, Nicola Asuni</li>
                              </ul>




        
                
<h4>Version:</h4>
<ul>
  <li>0.0.8a 2001-04-01 (original code)</li>
</ul>

        
</td>

<td valign="top">
<h3><a href="#class_vars">Variables</a></h3>
<ul>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#var$mBgcolor">$mBgcolor</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#var$mBrush">$mBrush</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#var$mChars">$mChars</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#var$mCharSet">$mCharSet</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#var$mError">$mError</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#var$mFont">$mFont</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#var$mHeight">$mHeight</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#var$mImg">$mImg</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#var$mStyle">$mStyle</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#var$mWidth">$mWidth</a></li>
  </ul>
</td>


<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#method__construct">__construct</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#methodDestroyObject">DestroyObject</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#methodDrawBorder">DrawBorder</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#methodDrawChar">DrawChar</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#methodDrawObject">DrawObject</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#methodDrawSingleBar">DrawSingleBar</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#methodDrawText">DrawText</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#methodFlushObject">FlushObject</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#methodGetError">GetError</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#methodGetFontHeight">GetFontHeight</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#methodGetFontWidth">GetFontWidth</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#methodgetImage">getImage</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#methodGetStyle">GetStyle</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#methodSetFont">SetFont</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#methodSetStyle">SetStyle</a></li>
    <li><a href="../com-tecnick-tcpdf/BarcodeObject.html#method__destructor">__destructor</a></li>
  </ul>
</td>

</tr></table>
<hr />

<table width="100%" border="0"><tr>


<td valign="top">
<h3>Child classes:</h3>
<div class="tags">
<dl>
<dt><a href="../com-tecnick-tcpdf/C39Object.html">C39Object</a></dt>
	<dd>Code 39 Barcode Render Class.<br />  Code 39 is an alphanumeric bar code that can encode decimal number, case alphabet and some special symbols.</dd>
</dl>
<dl>
<dt><a href="../com-tecnick-tcpdf/C128AObject.html">C128AObject</a></dt>
	<dd>Code 128-A Barcode Render Class for PHP using the GD graphics library.<br />  Code 128-A is a continuous, multilevel and include all upper case alphanumeric characters and ASCII control characters.</dd>
</dl>
<dl>
<dt><a href="../com-tecnick-tcpdf/C128BObject.html">C128BObject</a></dt>
	<dd>Code 128-B Barcode Render Class for PHP using the GD graphics library.<br />  Code 128-B is a continuous, multilevel and full ASCII code.</dd>
</dl>
<dl>
<dt><a href="../com-tecnick-tcpdf/C128CObject.html">C128CObject</a></dt>
	<dd>Code 128-C Barcode Render Class for PHP using the GD graphics library.<br />  Code 128-C is numeric only and provides the most efficiency.</dd>
</dl>
<dl>
<dt><a href="../com-tecnick-tcpdf/I25Object.html">I25Object</a></dt>
	<dd>I25 Barcode Render Class for PHP using the GD graphics library.</dd>
</dl>
</div>
</td>




</tr></table>
<hr />

<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line 209]<br />
Barcode Render Class for PHP using the GD graphics library.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>author:</b>&nbsp;&nbsp;</td><td>Karim Mribti, Nicola Asuni</td>
  </tr>
  <tr>
    <td><b>version:</b>&nbsp;&nbsp;</td><td>0.0.8a 2001-04-01 (original code)</td>
  </tr>
  <tr>
    <td><b>since:</b>&nbsp;&nbsp;</td><td>2001-03-25</td>
  </tr>
  <tr>
    <td><b>name:</b>&nbsp;&nbsp;</td><td>BarcodeObject</td>
  </tr>
  <tr>
    <td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://www.gnu.org/copyleft/lesser.html">LGPL</a></td>
  </tr>
</table>
</div>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />

<hr />
<a name="class_vars"></a>
<h3>Class Variables</h3>
<div class="tags">
	<a name="var$mBgcolor"></a>
	<p></p>
	<h4>$mBgcolor = <span class="value"></span></h4>
	<p>[line 232]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>var:</b>&nbsp;&nbsp;</td><td>color.</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>Background</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$mBrush"></a>
	<p></p>
	<h4>$mBrush = <span class="value"></span></h4>
	<p>[line 238]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>var:</b>&nbsp;&nbsp;</td><td>color.</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>Brush</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$mChars"></a>
	<p></p>
	<h4>$mChars = <span class="value"></span></h4>
	<p>[line 268]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>var:</b>&nbsp;&nbsp;</td><td>symbols.</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>Allowed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$mCharSet"></a>
	<p></p>
	<h4>$mCharSet = <span class="value"></span></h4>
	<p>[line 262]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>var:</b>&nbsp;&nbsp;</td><td>Set.</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>Character</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$mError"></a>
	<p></p>
	<h4>$mError = <span class="value"></span></h4>
	<p>[line 256]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>var:</b>&nbsp;&nbsp;</td><td>message.</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>Error</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$mFont"></a>
	<p></p>
	<h4>$mFont = <span class="value"></span></h4>
	<p>[line 250]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>var:</b>&nbsp;&nbsp;</td><td>code for character font.</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>Numeric</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$mHeight"></a>
	<p></p>
	<h4>$mHeight = <span class="value"></span></h4>
	<p>[line 220]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>var:</b>&nbsp;&nbsp;</td><td>height in pixels.</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>Image</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$mImg"></a>
	<p></p>
	<h4>$mImg = <span class="value"></span></h4>
	<p>[line 244]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>var:</b>&nbsp;&nbsp;</td><td>object.</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>Image</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$mStyle"></a>
	<p></p>
	<h4>$mStyle = <span class="value"></span></h4>
	<p>[line 226]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>var:</b>&nbsp;&nbsp;</td><td>code for Barcode style.</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>Numeric</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$mWidth"></a>
	<p></p>
	<h4>$mWidth = <span class="value"></span></h4>
	<p>[line 214]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>var:</b>&nbsp;&nbsp;</td><td>width in pixels.</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>Image</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
</div><br />

<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">

  <hr />
	<a name="method__construct"></a>
	<h3>constructor __construct <span class="smalllinenumber">[line 276]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BarcodeObject __construct(
[int
$Width = BCD_DEFAULT_WIDTH], [int
$Height = BCD_DEFAULT_HEIGHT], [int
$Style = BCD_DEFAULT_STYLE])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Class Constructor.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	<p>Overridden in child classes as:<br />
		<dl>
	<dt><a href="../com-tecnick-tcpdf/C39Object.html#method__construct">C39Object::__construct()</a></dt>
		<dd>Class Constructor.</dd>
	</dl>
		<dl>
	<dt><a href="../com-tecnick-tcpdf/C128AObject.html#method__construct">C128AObject::__construct()</a></dt>
		<dd>Class Constructor.</dd>
	</dl>
		<dl>
	<dt><a href="../com-tecnick-tcpdf/C128BObject.html#method__construct">C128BObject::__construct()</a></dt>
		<dd>Class Constructor.</dd>
	</dl>
		<dl>
	<dt><a href="../com-tecnick-tcpdf/C128CObject.html#method__construct">C128CObject::__construct()</a></dt>
		<dd>Class Constructor.</dd>
	</dl>
		<dl>
	<dt><a href="../com-tecnick-tcpdf/I25Object.html#method__construct">I25Object::__construct()</a></dt>
		<dd>Class Constructor.</dd>
	</dl>
	</p>
	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$Width</b>&nbsp;&nbsp;</td>
        <td>Image width in pixels.</td>
      </tr>
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$Height</b>&nbsp;&nbsp;</td>
        <td>Image height in pixels.</td>
      </tr>
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$Style</b>&nbsp;&nbsp;</td>
        <td>Barcode style.</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodDestroyObject"></a>
	<h3>method DestroyObject <span class="smalllinenumber">[line 441]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void DestroyObject(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Destroy the barcode image.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodDrawBorder"></a>
	<h3>method DrawBorder <span class="smalllinenumber">[line 324]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void DrawBorder(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Draws the barcode border.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodDrawChar"></a>
	<h3>method DrawChar <span class="smalllinenumber">[line 336]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void DrawChar(
int
$Font, int
$xPos, int
$yPos, int
$Char)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Draws the alphanumeric code.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$Font</b>&nbsp;&nbsp;</td>
        <td>Font type.</td>
      </tr>
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$xPos</b>&nbsp;&nbsp;</td>
        <td>Horiziontal position.</td>
      </tr>
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$yPos</b>&nbsp;&nbsp;</td>
        <td>Vertical position.</td>
      </tr>
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$Char</b>&nbsp;&nbsp;</td>
        <td>Alphanumeric code to write.</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodDrawObject"></a>
	<h3>method DrawObject <span class="smalllinenumber">[line 315]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void DrawObject(
int
$xres)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Abstract method used to draw the barcode image.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	<p>Overridden in child classes as:<br />
		<dl>
	<dt><a href="../com-tecnick-tcpdf/C39Object.html#methodDrawObject">C39Object::DrawObject()</a></dt>
		<dd>Draws the barcode object.</dd>
	</dl>
		<dl>
	<dt><a href="../com-tecnick-tcpdf/C128AObject.html#methodDrawObject">C128AObject::DrawObject()</a></dt>
		<dd>Draws the barcode object.</dd>
	</dl>
		<dl>
	<dt><a href="../com-tecnick-tcpdf/C128BObject.html#methodDrawObject">C128BObject::DrawObject()</a></dt>
		<dd>Draws the barcode object.</dd>
	</dl>
		<dl>
	<dt><a href="../com-tecnick-tcpdf/C128CObject.html#methodDrawObject">C128CObject::DrawObject()</a></dt>
		<dd>Draws the barcode object.</dd>
	</dl>
		<dl>
	<dt><a href="../com-tecnick-tcpdf/I25Object.html#methodDrawObject">I25Object::DrawObject()</a></dt>
		<dd>Draws the barcode object.</dd>
	</dl>
	</p>
	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$xres</b>&nbsp;&nbsp;</td>
        <td>Horizontal resolution.</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodDrawSingleBar"></a>
	<h3>method DrawSingleBar <span class="smalllinenumber">[line 361]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>bool DrawSingleBar(
int
$xPos, int
$yPos, int
$xSize, 
$ySize)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Draws a single barcode bar.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>trur in case of success, false otherwise.</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$xPos</b>&nbsp;&nbsp;</td>
        <td>Horiziontal position.</td>
      </tr>
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$yPos</b>&nbsp;&nbsp;</td>
        <td>Vertical position.</td>
      </tr>
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$xSize</b>&nbsp;&nbsp;</td>
        <td>Vertical size.</td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$ySize</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodDrawText"></a>
	<h3>method DrawText <span class="smalllinenumber">[line 348]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void DrawText(
int
$Font, int
$xPos, int
$yPos, int
$Char)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Draws a character string.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$Font</b>&nbsp;&nbsp;</td>
        <td>Font type.</td>
      </tr>
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$xPos</b>&nbsp;&nbsp;</td>
        <td>Horiziontal position.</td>
      </tr>
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$yPos</b>&nbsp;&nbsp;</td>
        <td>Vertical position.</td>
      </tr>
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$Char</b>&nbsp;&nbsp;</td>
        <td>string to write.</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodFlushObject"></a>
	<h3>method FlushObject <span class="smalllinenumber">[line 425]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void FlushObject(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Flush the barcode image.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodGetError"></a>
	<h3>method GetError <span class="smalllinenumber">[line 376]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>string GetError(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns the current error message.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>error message.</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodGetFontHeight"></a>
	<h3>method GetFontHeight <span class="smalllinenumber">[line 385]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>int GetFontHeight(
int
$font)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns the font height.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>font height.</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$font</b>&nbsp;&nbsp;</td>
        <td>font type.</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodGetFontWidth"></a>
	<h3>method GetFontWidth <span class="smalllinenumber">[line 394]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>int GetFontWidth(
int
$font)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns the font width.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>font width.</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$font</b>&nbsp;&nbsp;</td>
        <td>font type.</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodgetImage"></a>
	<h3>method getImage <span class="smalllinenumber">[line 307]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>object image. getImage(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns the image object.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni</td>
  </tr>
  <tr>
    <td><b>since:</b>&nbsp;&nbsp;</td><td>1.5.2</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodGetStyle"></a>
	<h3>method GetStyle <span class="smalllinenumber">[line 410]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>int GetStyle(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns barcode style.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>barcode style.</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodSetFont"></a>
	<h3>method SetFont <span class="smalllinenumber">[line 402]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void SetFont(
int
$font)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Set font type.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$font</b>&nbsp;&nbsp;</td>
        <td>font type.</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodSetStyle"></a>
	<h3>method SetStyle <span class="smalllinenumber">[line 418]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void SetStyle(
int
$Style)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Set barcode style.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$Style</b>&nbsp;&nbsp;</td>
        <td>barcode style.</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="method__destructor"></a>
	<h3>method __destructor <span class="smalllinenumber">[line 297]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void __destructor(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Class Destructor.<br /><br /><p>Destroy image object.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
</div><br />


        <div class="credit">
		    <hr />
		    Documentation generated on Mon, 21 Apr 2008 09:45:39 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>